package edu.fdzc.system.service;

import com.github.pagehelper.PageInfo;
import edu.fdzc.system.entity.QuestionType;

import java.util.List;

public interface QuestionTypeService {
    void add(QuestionType questionType);

    void updateById(QuestionType questionType);

    void deleteById(Integer id);

    void delectBatch(List<Integer> ids);

    QuestionType selectById(Integer id);

    List<QuestionType> selectAll(QuestionType questionType);

    PageInfo<QuestionType> selectPage(QuestionType questionType, Integer pageNum, Integer pageSize);
}
